package com.zzyl.mapper;

import com.zzyl.entity.RoleResource;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleResourceMapper {
    List<String> findResources(Long roleId);

    void deleteByRoleId(Long id);

    void insert(RoleResource roleResource);
}
